import { defineStore } from "pinia";

export const commonStore = defineStore({
    id: "common-store",
  state: () => ({
    tabIndex:0,
    advShow:true,
    platformInfo:{}
  }),

  getters: {},
  actions: {
    SET_TABINDEX(value) {
      this.tabIndex = value;
    },
    SET_ADVSHOW(value) {
      this.advShow = value;
    },
    SET_PLATFORMINFO(value) {
      this.platformInfo = value;
    },
  },
});
